package com.jaywalkable.vkeyboard.impl;

import com.jaywalkable.vkeyboard.VTextComponent;

public abstract class AbstractVTextComponent implements VTextComponent {

    @Override
    public void keyTyped(int numBackspace, Character[] chars) {
        for (int i = 0; i < numBackspace; i++) {
            onBackspace();
        }
        
        for (Character ch : chars) {
            append(ch);
        }
    }
}
